<template>
  <div class="detail">
    <header>
      <div class="ret">
        <i class="el-icon-arrow-left" @click="$router.go(-1)"></i>
      </div>
      <h1>订单详情——订金订单</h1>
    </header>
    <div class="content">
      <div class="top">
        <div class="left">
          <img src="@/assets/img/jieh.jpg" alt="" />
        </div>
        <div class="right">
          <div class="title">订单详情</div>
          <div class="orderList">
            <div class="listLeft">内景 X5</div>
            <div class="listRight">内景 X5</div>
          </div>
          <div class="orderList">
            <div class="listLeft">内景 X5</div>
            <div class="listRight">内景 X5</div>
          </div>
          <div class="orderList">
            <div class="listLeft">内景 X5</div>
            <div class="listRight">内景 X5</div>
          </div>
        </div>
      </div>
      <div class="info">
        <div class="text">订单资料</div>
        <div class="form">
          <el-form ref="form" :model="form" label-width="80px">
            <div class="m16">
              <el-form-item label="男生姓名">
                <el-input v-model="form.boyName"></el-input>
              </el-form-item>
              <el-form-item label="女生姓名">
                <el-input v-model="form.girlName"></el-input>
              </el-form-item>
            </div>
            <div class="m16">
              <el-form-item label="联系方式">
                <el-input v-model="form.phoneNum"></el-input>
              </el-form-item>
              <el-form-item label="微信号">
                <el-input v-model="form.wxNum"></el-input>
              </el-form-item>
            </div>
          </el-form>
        </div>
      </div>
      <div class="price">合计<span class="span">￥100</span></div>
      <div class="button">
        <div class="cancel">取消订单</div>
        <div class="pay">立即支付</div>
      </div>
    </div>
    <div class="tipsText">
      支付完成后可以通过手机号码获取验证码 登录个人中心查看订单进度
    </div>
    <div class="orderInfo">
        <div>订单信息</div>
        <div>订单编号：YQXP202345646464544</div>
        <div>创建时间：2023/05/06  10：21</div>
        <div>付款时间：2023/05/06  10：31</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        boyName: "",
        girlName: "",
        phoneNum: "",
        wxNum: "",
      },
    };
  },
  methods: {},
};
</script>

<style scoped lang="less">
/deep/ .el-input {
  width: 260px;
}
.detail {
}
header {
  width: 100%;
  height: 100px;
  line-height: 100px;
  position: relative;
  box-shadow: 0 1px 3px #ccc;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 99;
  .ret {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #05c697;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 29px;
    left: 40px;
    i {
      font-size: 26px;
      color: #fff;
      font-weight: bold;
    }
  }
  h1 {
    text-align: center;
    color: #415058;
    font-size: 28px;
    margin: 0;
  }
}
.content {
  margin: 0 auto;
  margin-top: 90px;
  width: 840px;
  min-height: 556px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(187, 187, 187, 1);
  .top {
    min-height: 214px;
    width: 96%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    .left {
      img {
        width: 320px;
        height: 213.67px;
        border-radius: 10px;
      }
    }
    .right {
      width: 320px;
      .title {
        height: 26px;
        line-height: 20px;
        text-align: center;
        font-size: 18px;
        color: #cecece;
        border-bottom: 1px dashed #bbbbbb;
      }
      .orderList {
        height: 26px;
        line-height: 26px;
        color: #415058;
        width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
      }
    }
  }
  .info {
    font-size: 18px;
    width: 96%;
    margin: 0 auto;
    margin-top: 16px;
    text-align: center;
    color: #415058;
    .text {
      border-bottom: 1px dashed #bbbbbb;
      padding-bottom: 6px;
    }

    .form {
      margin-top: 16px;
      .m16 {
        display: flex;
        justify-content: space-between;
      }
    }
  }
  .price {
    text-align: center;
    height: 50px;
    line-height: 50px;
    border-top: 1px dashed #bbbbbb;

    border-bottom: 1px dashed #bbbbbb;
    .span {
      color: #00b890;
      padding-left: 6px;
    }
  }
  .button {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    .cancel {
      width: 100px;
      height: 30px;
      line-height: 30px;
      border-radius: 4px;
      background-color: rgba(255, 255, 255, 1);
      color: rgba(16, 16, 16, 1);
      font-size: 14px;
      text-align: center;
      border: 1px solid rgba(187, 187, 187, 1);
      margin-right: 16px;
    }
    .pay {
      width: 100px;
      height: 30px;
      line-height: 30px;
      border-radius: 4px;
      background-color: rgba(255, 255, 255, 1);
      color: rgba(0, 184, 144, 1);
      font-size: 14px;
      text-align: center;
      border: 1px solid rgba(0, 184, 144, 1);
    }
  }
}

.tipsText {
  margin: 0 auto;
  width: 270px;
  height: 34px;
  line-height: 17px;
  color: rgba(164, 173, 179, 1);
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.orderInfo{
    margin: 0 auto;
    border-top: 1px dashed #bbbbbb;
    width: 840px;
    text-align: center;
    font-size: 12px;
    color: #415058;
    line-height: 20px;
    padding-top: 12px;
    padding-bottom: 20px;
}

</style>